package com.honghu.villagepost.api;

/**
 * Created by mqwang on 2017/11/15.
 */

public class APIUrl {

//    public static final String BASE_URL = "http://api.shancunjishi.com/api";//正式环境
    public static final String BASE_URL = "http://8.129.161.247:9000/api";

    /** 类目列表*/
    public static final String GOODS_CATEGORY = BASE_URL + "/goods/category";
    /** 商品列表*/
    public static final String GOODS = BASE_URL + "/goods";
    /** 登录*/
    public static final String LOGIN = BASE_URL + "/login";
    /** 商家详情*/
    public static final String SHOP_ID = BASE_URL + "/shop";
    /** 地址列表*/
    public static final String USER_ADDRESS = BASE_URL + "/user/address";
    /** 订单结算*/
    public static final String ORDER_SETTLE = BASE_URL + "/order/settle";
    /** 订单创建*/
    public static final String ORDER_CREATE = BASE_URL + "/order/create";
    /** 订单列表*/
    public static final String ORDER = BASE_URL + "/order";
    /** 用户详情*/
    public static final String USER = BASE_URL + "/user";
    /** 网点列表*/
    public static final String LOGISTICS_LOCATION = BASE_URL + "/logistics/location";
    /** 寄件订单列表*/
    public static final String LOGISTICS_ORDER = BASE_URL + "/logistics/order";
    /** 物流运单号创建*/
    public static final String LOGISTICS_ORDER_CREATE = BASE_URL + "/logistics/order/create";
    /** 物流运单号结算*/
    public static final String LOGISTICS_ORDER_SETTLE = BASE_URL + "/logistics/order/settle";
    /** 发送验证码*/
    public static final String SMS_CODE = BASE_URL + "/sms/code";
    /** 商品-微信支付*/
    public static final String ORDER_PAY_WX = BASE_URL + "/order/pay/wx";
    /** 运单-微信支付*/
    public static final String LOGISTICS_ORDER_PAY_WX = BASE_URL + "/logistics/order/pay/wx";
    /** 订单取消*/
    public static final String LOGISTICS_ORDER_CANCEL = BASE_URL + "/logistics/order/cancel";

    /** 消息详情*/
    public static final String SMS_CONTENT = BASE_URL + "/sms/content";
    /** 收藏*/
    public static final String FAVORITE = BASE_URL + "/favorite";
    /** 删除*/
    public static final String SMS_DELETE = BASE_URL + "/sms/delete";
    /** 纠错*/
    public static final String SMS_CORRECT = BASE_URL + "/sms/correct";
    /** 可订阅列表*/
    public static final String SUBSCRIBE = BASE_URL + "/subscribe";
    /** 可订阅城市列表*/
    public static final String SUBSCRIBE_CITY = BASE_URL + "/subscribe/city";
    /** 生成支付订单*/
    public static final String ORDERS = BASE_URL + "/orders";
    /** 订阅推送列表*/
    public static final String PUSH_SUBSCRIPTION = BASE_URL + "/push_subscription";
    /** 订阅推送设置*/
    public static final String PUSH_SUBSCRIPTION_SET = BASE_URL + "/push_subscription/set";
    /** 我的消息*/
    public static final String MYMSG = BASE_URL + "/mymsg";
    /** 删除消息*/
    public static final String MYMSG_DELETE = BASE_URL + "/mymsg/delete";
    /** 我的收藏列表*/
    public static final String FAVORITE_LIST_FAVOR = BASE_URL + "/favorite/list_favor";
    /** 我的订阅*/
    public static final String MY_SUBSCRIPTION = BASE_URL + "/my_subscription";
    /** 加入订阅接口*/
    public static final String CART_ADD = BASE_URL + "/cart/add";
    /** 已选择订阅列表*/
    public static final String CART = BASE_URL + "/cart";
    /** 用户找回密码*/
    public static final String PASSWORD_GET_BACK = BASE_URL + "/password/get_back";
    /** 用户修改密码*/
    public static final String PASSWORD_MODIFY = BASE_URL + "/password/modify";
    /** 用户中心菜单*/
    public static final String OTHER_GET_USER_MENU = BASE_URL + "/other/get_user_menu";
    /** 设置菜单*/
    public static final String OTHER_GET_CONFIG_MENU = BASE_URL + "/other/get_config_menu";
    /** 支付方式列表*/
    public static final String PAYMENT = BASE_URL + "/payment";
    /** 请求支付串*/
    public static final String PAYMENT_GET_PAYMENT_INFO = BASE_URL + "/payment/get_payment_info";
    /** 收藏删除*/
    public static final String FAVORITE_DELETE = BASE_URL + "/favorite/delete";
    /** 版本号*/
    public static final String VERSION = BASE_URL + "/version";

    /** 首页猜你喜欢列表*/
    public static final String HOME = BASE_URL + "/home";

    /** 微信登录 */
    public static final String WEIX_LOGIN = BASE_URL + "/login/wx";

    /** 文件上传 */
    public static final String UPLOAD_FILE = BASE_URL + "/file/upload/pic";

    /** 店铺申请 */
    public static final String APPLY_SHOP = BASE_URL + "/shop/apply";

    /** 版本更新 */
    public static final String LAUNCH = BASE_URL + "/launch";

    /** 猜你喜欢 */
    public static final String GOODS_LIKE = BASE_URL + "/goods/like";
}

